package org.taishan.electronshop.domain;


public class TrolleyItem {
    /*购物车的id*/
    private int id;
    private String name;
    private String image;
    private double price;
    private int number;
    private Customer customer;
    private Goods goods;


    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }


    public TrolleyItem() {
    }



    public void setNumber(int number) {
        this.number = number;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public int getNumber() {
        return number;
    }

    public void setnumber(int number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}

